#include "Vector.h"
void test()
{
	Vector<int> s1;
	s1.Push(1);
	s1.Push(2);
	s1.Push(3);
	s1.Push(4);
	int a = s1.Back();
	s1.Pop();
	s1.Pop();
	s1.Pop();
	a = s1.Front();
	a = s1.Index(1);
	a = s1[1];
	Vector<double> s2;
	s2.Push(1);
	s2.Push(2);
	s2.Push(3);
	double b = s1[1];
	Vector<Date>s3;
	s3.Push(Date(2222, 2, 22));
	s3.Push(Date(3333, 3, 33));
	s3.Push(Date(3333, 3, 33));
	s3.Push(Date(4444, 3, 33));
	s3.Pop();
	s3.Pop();
	s3.Pop();
	s3.~Vector();
	s3.Push(Date(2222, 3, 3));
}